package jmine.tec.services.utils.replace.transformation;

import jmine.tec.services.utils.replace.api.ServiceBlock;

public class RemoveParameterTransformation extends AbstractTransformation {

    private final String parameter;

    public RemoveParameterTransformation(String action, String name, String parameter) {
        super(action, name);
        this.parameter = parameter;
    }

    public void apply(ServiceBlock block) {
        block.removeParameter(this.parameter);
    }
}
